//
//  VoucherCell.m
//  DaoZiJinFu
//
//  Created by woker on 16/6/24.
//  Copyright © 2016年 iwoker. All rights reserved.
//

#import "VoucherCell.h"

@implementation VoucherCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

+ (instancetype)cellWithTableView:(UITableView *)tableView {
    VoucherCell *cell = [tableView dequeueReusableCellWithIdentifier:VOUCHER_CELL];
    if (!cell) {
        cell = [[VoucherCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:VOUCHER_CELL];
    }
    
    cell.fullcutLab.layer.masksToBounds = YES;
    cell.fullcutLab.layer.cornerRadius = cell.fullcutLab.frame.size.height/2.0;
    return cell;
}

@end
